package com.fansz.FanszAPI.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * Created by root on 15-10-26.
 */
public class Friends {

    @Id
    @Field
    String uid;
    @Field
    String userIdAdd;
    @Field
    String userIdAgree;
    @Field
    long createTime;
    @Field
    long agreeTime;
    @Field
    String agreeNickName;
    @Field
    String addNickName;
    @Field
    String from;
    @Field
    String groupId;
    @Field
    String status;
    @Field
    int isShowCommunity;
    @Field
    int isSeeCommunity;
    @Field
    int isShowTopic;
    @Field
    int isSeeTopic;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUserIdAdd() {
        return userIdAdd;
    }

    public void setUserIdAdd(String userIdAdd) {
        this.userIdAdd = userIdAdd;
    }

    public String getUserIdAgree() {
        return userIdAgree;
    }

    public void setUserIdAgree(String userIdAgree) {
        this.userIdAgree = userIdAgree;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getAgreeTime() {
        return agreeTime;
    }

    public void setAgreeTime(long agreeTime) {
        this.agreeTime = agreeTime;
    }

    public String getAgreeNickName() {
        return agreeNickName;
    }

    public void setAgreeNickName(String agreeNickName) {
        this.agreeNickName = agreeNickName;
    }

    public String getAddNickName() {
        return addNickName;
    }

    public void setAddNickName(String addNickName) {
        this.addNickName = addNickName;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getIsShowCommunity() {
        return isShowCommunity;
    }

    public void setIsShowCommunity(int isShowCommunity) {
        this.isShowCommunity = isShowCommunity;
    }

    public int getIsSeeCommunity() {
        return isSeeCommunity;
    }

    public void setIsSeeCommunity(int isSeeCommunity) {
        this.isSeeCommunity = isSeeCommunity;
    }

    public int getIsShowTopic() {
        return isShowTopic;
    }

    public void setIsShowTopic(int isShowTopic) {
        this.isShowTopic = isShowTopic;
    }

    public int getIsSeeTopic() {
        return isSeeTopic;
    }

    public void setIsSeeTopic(int isSeeTopic) {
        this.isSeeTopic = isSeeTopic;
    }

    @Override
    public String toString() {
        return "Friends{" +
                "uid='" + uid + '\'' +
                ", userIdAdd='" + userIdAdd + '\'' +
                ", userIdAgree='" + userIdAgree + '\'' +
                ", createTime=" + createTime +
                ", agreeTime=" + agreeTime +
                ", agreeNickName='" + agreeNickName + '\'' +
                ", addNickName='" + addNickName + '\'' +
                ", from='" + from + '\'' +
                ", groupId='" + groupId + '\'' +
                ", status=" + status +
                ", isShowCommunity=" + isShowCommunity +
                ", isSeeCommunity=" + isSeeCommunity +
                ", isShowTopic=" + isShowTopic +
                ", isSeeTopic=" + isSeeTopic +
                '}';
    }
}
